import { PropsWithChildren } from 'react'
import { useLaunch } from '@tarojs/taro'
import Taro from '@tarojs/taro';
import './app.scss'

function App({ children }: PropsWithChildren<any>) {
  useLaunch(() => {
    console.log('App launched.')
  })
  // TODO 开发测试上线去除
  Taro.setStorageSync('token', 'auth1');
  // children 是将要会渲染的页面
  return children
}



export default App
